package kuoge.practice.kafka.stream.member.activity.conversionrate;

/**
 * @Description
 */
public class PurchaseItemEvent {
    private final String userId;
    private final String itemCode;
    private final String orderCode;
    private final long timeStamp;

    public PurchaseItemEvent(String userId, String itemCode, String orderCode) {
        this.userId = userId;
        this.itemCode = itemCode;
        this.orderCode = orderCode;
        this.timeStamp = System.currentTimeMillis();
    }

    public String getUserId() {
        return userId;
    }

    public String getItemCode() {
        return itemCode;
    }

    public String getOrderCode() {
        return orderCode;
    }

    public long getTimeStamp() {
        return timeStamp;
    }
}
